<template>
    <div>
        <iframe src="http://171.15.79.151:3000/" width="100%" height="900px"></iframe>
    </div>
</template>
<script>
import request from '@/utils/request'
export default {
    mounted() {
        this.getList();
    },
    methods: {

        getList() {
            console.log(11112221111);
            // listWcViolateMonitor();
           const data_={
                username: "root",
                password: "e4d817fee161e48ec0a46db5e83f213abaa8616649f40c7c3929f6537377f2de"
            }
            listWcViolateMonitor(data_).then(res => {
                console.log(res, '看一看瞧一瞧');
            });
        },
    }
};


export function listWcViolateMonitor(query) {
    return request({
        url: 'http://171.15.79.151:3000/api/support/user/account/loginByPassword',
        method: 'POST',
        // 使用 query 参数中的用户名和密码
        data: {
            username: query.username,
            password: query.password
        }
    })
}
</script>